<?php


namespace app\common\model;


use think\Model;

class BasketMatchRecModel extends Model
{
    public function match(){
        return $this->hasOne('BasketMatchModel','id','matchid')->with(['matchevent','hometeam','awayteam']);
    }
}